package com.lanqiao.companymanage.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lanqiao.companymanage.entity.Management;
import com.lanqiao.companymanage.service.CompanyOperateService;
import com.lanqiao.companymanage.service.OperatingMessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 何小棍
 * 公司经营查询
 */
@Service
public class CompanyOperateServiceImpl implements CompanyOperateService {

    @Autowired
    OperatingMessService operatingMessService;

    /**
     * 公司经营分页查询
     * @param managementPage
     * @return
     */
    @Override
    public Page<Management> getCompanyOperatePage(Page<Management> managementPage) {
        return operatingMessService.listPage(managementPage);
    }
}
